<?php
$errors = Kd_Web::getMessager()->getErrors();
$informs = Kd_Web::getMessager()->getInforms();
?>
<?php
if(!empty($informs)):
foreach($informs as $inform):
?>
<ul class="informs"><li><span><?php echo $inform ?></span></li></ul>
<?php
endforeach;
endif;
?>
<?php
if(!empty($errors)):
foreach($errors as $error):
?>
<ul class="errors"><li><span><?php echo $error ?></span></li></ul>
<?php
endforeach;
endif;
?>